#
# Be sure to run `pod lib lint QAGameIM.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'QAGameIM'
  s.version          = '1.0.0'
  s.summary          = '非常简单易用的轻量级QAGameIM.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/hao-yun/QQIM'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '13241143266@163.com' => 'fandongdong@yixia.com' }

  s.source           = { :git => 'https://gitee.com/hao-yun/QQIM.git', :tag => s.version.to_s }

  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '8.0'

   s.source_files  = 'Classes", "Classes/**/*.{h,m}'
  
  s.subspec 'Classes' do |ss|
      ss.subspec 'QAIMFuntionFiles' do |sss|
          sss.source_files = 'QAGameIM/Classes/QAIMFuntionFiles/**/*.{h,m}'
          
          sss.subspec 'QAIMSubViews' do |ssss|
              ssss.source_files = 'QAGameIM/Classes/QAIMFuntionFiles/QAIMSubViews/**/*.{h,m}'
              end
          sss.subspec 'QAIMViewController' do |ssss|
              ssss.source_files = 'QAGameIM/Classes/QAIMFuntionFiles/QAIMViewController/**/*.{h,m}'
              end
          sss.subspec 'QAIMDataSource' do |ssss|
              ssss.source_files = 'QAGameIM/Classes/QAIMFuntionFiles/QAIMDataSource/**/*.{h,m}'
              end
          sss.subspec 'QAIMGameCommonConfig' do |ssss|
              ssss.source_files = 'QAGameIM/Classes/QAIMFuntionFiles/QAIMGameCommonConfig/**/*.{h,m}'
          end
          
          
    end
      
      ss.subspec 'QAIMThirdPartFiles' do |sss|
          sss.source_files = 'QAGameIM/Classes/QAIMThirdPartFiles/**/*.{h,m}'
      end
  end
  
  # Resources/*.png
  # s.resource = 'QAGameIM/Assets/*.png','QAGameIM/Assets/*.mp3','QAGameIM/Assets/*.plist'
  #  s.resource = 'QAGameIM/resource/*.png','QAGameIM/resource/*.mp3','QAGameIM/resource/*.plist'
  
  #s.resource_bundles = {
       #  'QAGameIM' => ['QAGameIM/Assets/*.png']
     # }
     
     #  s.resource  = 'QAGameIM/QAGameIM.bundle'

#s.vendored_frameworks = 'QAGameIM/library/ImSDK.framework','QAGameIM/library/QALSDK.framework','QAGameIM/library/TLSSDK.framework','QAGameIM/library/IMMessageExt.framework'
   
   #  s.frameworks = 'UIKit','AssetsLibrary','Accelerate','CoreMedia','VideoToolbox','MediaPlayer','AVFoundation','Security','CoreTelephony','SystemConfiguration','CoreGraphics','Foundation'
    
    #  s.libraries =  'sqlite3', 'z', 'c++','stdc++','stdc++.6', 'resolv', 'iconv'
    
    
  s.dependency 'AFNetworking'
  s.dependency 'YYModel'
  s.dependency 'pop'
  s.dependency 'Masonry'
  s.dependency 'SDWebImage'
  s.dependency 'TTTAttributedLabel'
  
end
